#include <iostream>
using namespace std;

class A{
    public:
        int a=1;
};

class B{
    public:
        int b=2;
};

class C: public A, public B{};

int main(){
    C c;
    cout<<c.a<<endl;
    cout<<c.b<<endl;
    return 0;
}
